<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
        <div id="search_bar">
            <h:form class="search_bar_item">
                <p:inputText id="search_input" value="#{productController.searchCriteria.searchTerm}" placeholder="#{webtext.search_ph}" size="50"/>
                <p:commandButton update=":content_panel" title="#{webtext.search_bar}" action="#{productController.prepareSearch}" value="#{webtext.search_bar}" icon="search_icon"/>
                <h:link outcome="advanced_search" value="#{webtext.advanced_search}"/>
                <div id="my_account">
                    <p:commandButton title="#{webtext.my_account}" action="#{userController.prepareAccess}" value="#{webtext.my_account}" icon="user_icon"/>
                </div>
            </h:form>
        </div>
</ui:composition>

